package com.lagou.work3;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class ThreadPoolTest {

    public static void main(String[] args) {
        ExecutorService executorService = Executors.newFixedThreadPool(10);
        Thread thread1 = new FileOper("/Users/dingxiaowei/Downloads/apache-maven-3.6.3", "/Users/dingxiaowei/Downloads/apache-maven-test");
        executorService.execute(thread1);
        executorService.shutdown();
    }
}
